package com.yicong.ants.bean;

import java.util.List;

/**
 * 渠道数据 Bean
 */
public class ChannelBean {

    /**
     * code : 2000
     * msg : 分类信息获取成功
     * time : 1537858184
     * data : [{"id":7,"pid":0,"name":"首页","nickname":"首页"},{"id":6,"pid":0,"name":"食品打假","nickname":"食品打假"},{"id":5,"pid":0,"name":"深圳","nickname":"深圳"},{"id":4,"pid":0,"name":"图片","nickname":"图片"},{"id":3,"pid":0,"name":"视频","nickname":"视频"},{"id":2,"pid":0,"name":"推荐","nickname":"推荐"},{"id":1,"pid":0,"name":"关注","nickname":"关注"}]
     */

    private String code;
    private String msg;
    private String time;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 7
         * pid : 0
         * name : 首页
         * nickname : 首页
         */

        private int id;
        private int pid;
        private String name;
        private String nickname;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getPid() {
            return pid;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }
    }
}
